<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/2/23
  Time: 9:52
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
        request.setCharacterEncoding("UTF-8");
        String username =(String) session.getAttribute("login");
        if (null == username){
                response.sendRedirect("reg.jsp");

        }
        %>
欢迎登录，页面信息<br>
用户名:<%=username%>

</body>
</html>
